import 'normalize.css';
import './assets/main.css'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import AV from 'leancloud-storage'
import dayjs from 'dayjs'
import './plugins/element.js'

//初始化leancloud
const APP_ID = 'PJqOCjjXynnmU8bP2fbNwdft-gzGzoHsz'
const APP_KEY = 'KQVKSaNXrIqVf9BKlg5unaH5'
AV.init({
  appId: APP_ID,
  appKey: APP_KEY
})

//挂载AV
Vue.prototype.$AV = AV


Vue.prototype.$dayjs = dayjs

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
